//Deviec:FT61FC3X
//-----------------------Variable---------------------------------
		_mTime_MainLoopCnt		EQU		70H
		_mDEV_LedStatus		EQU		73H
//		UserLedStatusDeal@ChangeLevelCnt		EQU		72H
//-----------------------Variable END---------------------------------

		BCR 	PCLATH,3 		//0000 	118A
		LJUMP 	0BH 			//0001 	380B
		ORG		0004H
		STR 	7EH 			//0004 	01FE
		SWAPR 	STATUS,0 		//0005 	0703
		STR 	74H 			//0006 	01F4
		LDR 	PCLATH,0 		//0007 	080A
		STR 	75H 			//0008 	01F5
		BCR 	PCLATH,3 		//0009 	118A
		LJUMP 	83H 			//000A 	3883
		BCR 	PCLATH,3 		//000B 	118A
		LJUMP 	0DH 			//000C 	380D
		CLRR 	70H 			//000D 	0170
		CLRR 	71H 			//000E 	0171
		CLRR 	72H 			//000F 	0172
		CLRR 	73H 			//0010 	0173
		CLRR 	STATUS 			//0011 	0103
		BCR 	PCLATH,3 		//0012 	118A
		LJUMP 	59H 			//0013 	3859

		//;MOTO_CSJ_61FC3F.C: 130: if(PA7 == 0){
		BTSC 	5H,7 			//0014 	1785
		LJUMP 	17H 			//0015 	3817

		//;MOTO_CSJ_61FC3F.C: 131: mDEV_LedStatus = 0;
		//;MOTO_CSJ_61FC3F.C: 132: PB2=PB3=0;PA0=1;;
		//;MOTO_CSJ_61FC3F.C: 133: PA4=0;PA2=1;;
		//;MOTO_CSJ_61FC3F.C: 134: }else{
		LJUMP 	52H 			//0016 	3852

		//;MOTO_CSJ_61FC3F.C: 135: mDEV_LedStatus = 1;
		CLRR 	73H 			//0017 	0173
		INCR	73H,1 			//0018 	09F3

		//;MOTO_CSJ_61FC3F.C: 136: PA0=0;PB2=PB3=1;;
		BCR 	5H,0 			//0019 	1005
		BSR 	6H,3 			//001A 	1986
		BTSS 	6H,3 			//001B 	1D86
		LJUMP 	21H 			//001C 	3821
		BCR 	STATUS,5 		//001D 	1283
		BCR 	STATUS,6 		//001E 	1303
		BSR 	6H,2 			//001F 	1906
		LJUMP 	24H 			//0020 	3824
		BCR 	STATUS,5 		//0021 	1283
		BCR 	STATUS,6 		//0022 	1303
		BCR 	6H,2 			//0023 	1106

		//;MOTO_CSJ_61FC3F.C: 137: PA4=1;PA2=0;;
		BSR 	5H,4 			//0024 	1A05
		BCR 	5H,2 			//0025 	1105
		RET		 					//0026 	0004

		//;MOTO_CSJ_61FC3F.C: 233: UserLedStatusDeal();
		LJUMP 	28H 			//0027 	3828

		//;MOTO_CSJ_61FC3F.C: 193: static unsigned char ChangeLevelCnt = 0;
		//;MOTO_CSJ_61FC3F.C: 194: if(mDEV_LedStatus == 0)
		LDR 	73H,0 			//0028 	0873
		BTSS 	STATUS,2 		//0029 	1D03
		LJUMP 	47H 			//002A 	3847

		//;MOTO_CSJ_61FC3F.C: 195: {
		//;MOTO_CSJ_61FC3F.C: 196: if(PA7 == 1)
		BCR 	STATUS,5 		//002B 	1283
		BCR 	STATUS,6 		//002C 	1303
		BTSS 	5H,7 			//002D 	1F85
		LJUMP 	45H 			//002E 	3845

		//;MOTO_CSJ_61FC3F.C: 197: {
		//;MOTO_CSJ_61FC3F.C: 198: if(++ChangeLevelCnt>=6)
		LDWI 	6H 			//002F 	2A06
		INCR	72H,1 			//0030 	09F2
		SUBWR 	72H,0 			//0031 	0C72
		BTSS 	STATUS,0 		//0032 	1C03
		RET		 					//0033 	0004

		//;MOTO_CSJ_61FC3F.C: 199: {
		//;MOTO_CSJ_61FC3F.C: 200: ChangeLevelCnt = 0;
		CLRR 	72H 			//0034 	0172

		//;MOTO_CSJ_61FC3F.C: 201: mDEV_LedStatus = 1;
		CLRR 	73H 			//0035 	0173
		INCR	73H,1 			//0036 	09F3

		//;MOTO_CSJ_61FC3F.C: 202: PA0=0;PB2=PB3=1;;
		BCR 	5H,0 			//0037 	1005
		BSR 	6H,3 			//0038 	1986
		BTSS 	6H,3 			//0039 	1D86
		LJUMP 	3FH 			//003A 	383F
		BCR 	STATUS,5 		//003B 	1283
		BCR 	STATUS,6 		//003C 	1303
		BSR 	6H,2 			//003D 	1906
		LJUMP 	42H 			//003E 	3842
		BCR 	STATUS,5 		//003F 	1283
		BCR 	STATUS,6 		//0040 	1303
		BCR 	6H,2 			//0041 	1106

		//;MOTO_CSJ_61FC3F.C: 203: PA4=1;PA2=0;;
		BSR 	5H,4 			//0042 	1A05
		BCR 	5H,2 			//0043 	1105
		RET		 					//0044 	0004

		//;MOTO_CSJ_61FC3F.C: 206: ChangeLevelCnt=0;
		CLRR 	72H 			//0045 	0172
		RET		 					//0046 	0004

		//;MOTO_CSJ_61FC3F.C: 209: else
		//;MOTO_CSJ_61FC3F.C: 210: {
		//;MOTO_CSJ_61FC3F.C: 211: if(PA7 == 0)
		BCR 	STATUS,5 		//0047 	1283
		BCR 	STATUS,6 		//0048 	1303
		BTSC 	5H,7 			//0049 	1785
		LJUMP 	45H 			//004A 	3845

		//;MOTO_CSJ_61FC3F.C: 212: {
		//;MOTO_CSJ_61FC3F.C: 213: if(++ChangeLevelCnt>=6)
		LDWI 	6H 			//004B 	2A06
		INCR	72H,1 			//004C 	09F2
		SUBWR 	72H,0 			//004D 	0C72
		BTSS 	STATUS,0 		//004E 	1C03
		RET		 					//004F 	0004

		//;MOTO_CSJ_61FC3F.C: 214: {
		//;MOTO_CSJ_61FC3F.C: 215: ChangeLevelCnt = 0;
		CLRR 	72H 			//0050 	0172

		//;MOTO_CSJ_61FC3F.C: 216: mDEV_LedStatus = 0;
		//;MOTO_CSJ_61FC3F.C: 217: PB2=PB3=0;PA0=1;;
		//;MOTO_CSJ_61FC3F.C: 218: PA4=0;PA2=1;;
		LJUMP 	52H 			//0051 	3852
		CLRR 	73H 			//0052 	0173
		BCR 	6H,3 			//0053 	1186
		BCR 	6H,2 			//0054 	1106
		BSR 	5H,0 			//0055 	1805
		BCR 	5H,4 			//0056 	1205
		BSR 	5H,2 			//0057 	1905
		RET		 					//0058 	0004

		//;MOTO_CSJ_61FC3F.C: 158: TRISA3 = 0;
		BSR 	STATUS,5 		//0059 	1A83
		BCR 	5H,3 			//005A 	1185

		//;MOTO_CSJ_61FC3F.C: 159: TRISA5 = 0;
		BCR 	5H,5 			//005B 	1285

		//;MOTO_CSJ_61FC3F.C: 160: PA3 = 0;
		BCR 	STATUS,5 		//005C 	1283
		BCR 	5H,3 			//005D 	1185

		//;MOTO_CSJ_61FC3F.C: 161: PA5 = 0;
		BCR 	5H,5 			//005E 	1285

		//;MOTO_CSJ_61FC3F.C: 162: ANSEL0=0B00000000;
		BSR 	STATUS,6 		//005F 	1B03
		CLRR 	1EH 			//0060 	011E

		//;MOTO_CSJ_61FC3F.C: 165: TRISA0=0;TRISA2=0;TRISA4=0; TRISB3=TRISB2=0;
		BSR 	STATUS,5 		//0061 	1A83
		BCR 	STATUS,6 		//0062 	1303
		BCR 	5H,0 			//0063 	1005
		BCR 	5H,2 			//0064 	1105
		BCR 	5H,4 			//0065 	1205
		BCR 	6H,2 			//0066 	1106
		BCR 	6H,3 			//0067 	1186

		//;MOTO_CSJ_61FC3F.C: 167: TRISA7=1;
		BSR 	5H,7 			//0068 	1B85

		//;MOTO_CSJ_61FC3F.C: 169: SystemTime0Init();
		BCR 	PCLATH,3 		//0069 	118A
		LCALL 	91H 			//006A 	3091
		BCR 	PCLATH,3 		//006B 	118A

		//;MOTO_CSJ_61FC3F.C: 170: UserInit();
		BCR 	PCLATH,3 		//006C 	118A
		LCALL 	14H 			//006D 	3014
		BCR 	PCLATH,3 		//006E 	118A

		//;MOTO_CSJ_61FC3F.C: 171: WDT_INITIAL();
		BCR 	PCLATH,3 		//006F 	118A
		LCALL 	9AH 			//0070 	309A
		BCR 	PCLATH,3 		//0071 	118A

		//;MOTO_CSJ_61FC3F.C: 172: GIE = 1;
		BSR 	INTCON,7 		//0072 	1B8B

		//;MOTO_CSJ_61FC3F.C: 173: PEIE = 1;
		BSR 	INTCON,6 		//0073 	1B0B

		//;MOTO_CSJ_61FC3F.C: 174: SWDTEN=1;
		BSR 	18H,0 			//0074 	1818

		//;MOTO_CSJ_61FC3F.C: 176: while (1)
		CLRWDT	 			//0075 	0001

		//;MOTO_CSJ_61FC3F.C: 180: UserDriverDeal();
		BCR 	PCLATH,3 		//0076 	118A
		LCALL 	27H 			//0077 	3027
		BCR 	PCLATH,3 		//0078 	118A

		//;MOTO_CSJ_61FC3F.C: 181: while (mTime_MainLoopCnt < 5)
		LDWI 	0H 			//0079 	2A00
		SUBWR 	71H,0 			//007A 	0C71
		LDWI 	5H 			//007B 	2A05
		BTSC 	STATUS,2 		//007C 	1503
		SUBWR 	70H,0 			//007D 	0C70
		BTSS 	STATUS,0 		//007E 	1C03
		LJUMP 	79H 			//007F 	3879

		//;MOTO_CSJ_61FC3F.C: 183: }
		//;MOTO_CSJ_61FC3F.C: 184: mTime_MainLoopCnt = 0;
		CLRR 	70H 			//0080 	0170
		CLRR 	71H 			//0081 	0171
		LJUMP 	75H 			//0082 	3875

		//;MOTO_CSJ_61FC3F.C: 80: if(T0IE && T0IF) {
		BTSC 	INTCON,5 		//0083 	168B
		BTSS 	INTCON,2 		//0084 	1D0B
		LJUMP 	8AH 			//0085 	388A

		//;MOTO_CSJ_61FC3F.C: 82: T0IF = 0;
		BCR 	INTCON,2 		//0086 	110B

		//;MOTO_CSJ_61FC3F.C: 83: mTime_MainLoopCnt++;
		INCR	70H,1 			//0087 	09F0
		BTSC 	STATUS,2 		//0088 	1503
		INCR	71H,1 			//0089 	09F1
		LDR 	75H,0 			//008A 	0875
		STR 	PCLATH 			//008B 	018A
		SWAPR 	74H,0 			//008C 	0774
		STR 	STATUS 			//008D 	0183
		SWAPR 	7EH,1 			//008E 	07FE
		SWAPR 	7EH,0 			//008F 	077E
		RETI		 			//0090 	0009

		//;MOTO_CSJ_61FC3F.C: 94: OPTION = 0B00000101;
		LDWI 	5H 			//0091 	2A05
		STR 	1H 			//0092 	0181

		//;MOTO_CSJ_61FC3F.C: 99: T0CON0 = 0x01;
		LDWI 	1H 			//0093 	2A01
		BCR 	STATUS,5 		//0094 	1283
		STR 	1FH 			//0095 	019F

		//;MOTO_CSJ_61FC3F.C: 100: T0IF = 0;
		BCR 	INTCON,2 		//0096 	110B

		//;MOTO_CSJ_61FC3F.C: 101: T0IE = 1;
		BSR 	INTCON,5 		//0097 	1A8B

		//;MOTO_CSJ_61FC3F.C: 102: T0ON=1;
		BSR 	1FH,3 			//0098 	199F
		RET		 					//0099 	0004
		CLRWDT	 			//009A 	0001

		//;MOTO_CSJ_61FC3F.C: 123: PSA=0;
		BSR 	STATUS,5 		//009B 	1A83
		BCR 	STATUS,6 		//009C 	1303
		BCR 	1H,3 			//009D 	1181

		//;MOTO_CSJ_61FC3F.C: 124: WDTCON = 0B00001010;
		LDWI 	AH 			//009E 	2A0A
		BCR 	STATUS,5 		//009F 	1283
		STR 	18H 			//00A0 	0198
		RET		 					//00A1 	0004
			END
